package com.mall.test.address;

import java.io.Serializable;

class Earth implements Serializable {

    private String speak;

    //序列化标识
    private static final long serialVersionUID = -348273948432427L;

    private static Earth earth = new Earth();

    private Earth() {
    }

    public static Earth getInstance() {
        return earth;
    }

    public String getSpeak() {
        return speak;
    }

    public void setSpeak(String speak) {
        this.speak = speak;
    }

   /* @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Earth earth = (Earth) o;
        return Objects.equals(speak, earth.speak);
    }

    @Override
    public int hashCode() {
        return Objects.hash(speak);
    }*/
}